import request from './request.js'
const accountInfo = uni.getAccountInfoSync()
const appId = accountInfo.miniProgram.appId;
import config from '@/config.js'
import * as loginServer from '@/common/login.js';

function getVenue() {
	return request({
		url: `/systemj/venue/appId/${appId}`,
		method: 'get'
	})
}



function checknumberid(params) {
	return request({
		url: `/public/customer/checknumberid`,
		method: 'get',
		params
	})
}
function findprolist() {
	return request({
		url: `/public/customer/findprolist`,
		method: 'get',
	})
}
function fullproinfopage(params) {
	return request({
		url: `/public/customer/fullproinfopage`,
		method: 'get',
		params
	})
}
function createorderbygetjson(params) {
	return request({
		url: `/public/customer/createorderbygetjson`,
		method: 'get',
		params
	})
}
function listwaterinfobyselective(params) {
	return request({
		url: `/public/customer/listwaterinfobyselective`,
		method: 'get',
		params
	})
}
function listorderlistbyselectinfo(params) {
	return request({
		url: `/public/customer/listorderlistbyselectinfo`,
		method: 'get',
		params
	})
}
function wxjsapipaytest(params) {
	return request({
		url: `/public/customer/wxjsapipaytest`,
		method: 'get',
		params
	})
}
function showbaseinfobyworktype(params) {
	return request({
		url: `/public/customer/showbaseinfobyworktype`,
		method: 'get',
		params
	})
}
function getvipcard(params) {
	return request({
		url: `/public/customer/getvipcard`,
		method: 'get',
		params
	})
}
function showbaseinfolistbydetailkey(params) {
	return request({
		url: `/public/customer/showbaseinfolistbydetailkey`,
		method: 'get',
		params
	})
}
function cardinfocreatesave(params) {
	return request({
		url: `/public/customer/cardinfocreatesave`,
		method: 'get',
		params
	})
}
function SelectCardInfoListBySelective(params) {
	return request({
		url: `/public/customer/SelectCardInfoListBySelective`,
		method: 'get',
		params
	})
}
function ShopCarInfosave(params) {
	return request({
		url: `/public/customer/ShopCarInfosave`,
		method: 'get',
		params
	})
}
function showShopCarInfobyworktype(params) {
	return request({
		url: `/public/customer/showShopCarInfobyworktype`,
		method: 'get',
		params
	})
}
function findtipinfobytipid(params) {
	return request({
		url: `/public/customer/findtipinfobytipid`,
		method: 'get',
		params
	})
}
// function showbaseinfolistbydetailkey(params) {
// 	return request({
// 		url: `/public/customer/showbaseinfolistbydetailkey`,
// 		method: 'get',
// 		params
// 	})
// }
export {
	getVenue,
    checknumberid,findprolist,fullproinfopage,createorderbygetjson,listwaterinfobyselective,listorderlistbyselectinfo,wxjsapipaytest,showbaseinfobyworktype,getvipcard,
	showbaseinfolistbydetailkey,cardinfocreatesave,SelectCardInfoListBySelective,ShopCarInfosave,showShopCarInfobyworktype,findtipinfobytipid
}
